package com.yhq.spring.web.aop;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author hqyin
 * @date 2025/6/11 3:59 PM
 */
public class CalAdvice implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("MethodBeforeAdvice before"+method.getName());
    }
}
